home *** CD-ROM | disk | FTP | other *** search
/ Java 1996 August / Java - Summer 1996.iso / kaffe-0.2 / kaffe / codegen / translator.h < prev   
Encoding:
C/C++ Source or Header  |  1996-02-12  |  662 b   |  34 lines

  1. /*
  2.  * translator.h
  3.  * Bytecode translator.
  4.  *
  5.  * Copyright (c) 1996 Systems Architecture Research Centre,
  6.  *           City University, London, UK.
  7.  *
  8.  * See the file "license.terms" for information on usage and redistribution
  9.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  10.  *
  11.  * Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.
  12.  */
  13.  
  14. #ifndef __intrp_h
  15. #define __intrp_h
  16.  
  17. struct _methods;
  18.  
  19. void translate(struct _methods*);
  20.  
  21. typedef struct _tableswitch {
  22.     struct _tableswitch*    next;
  23.     int            len;
  24.     int            offsets[0];
  25. } tableswitch;
  26.  
  27. typedef struct _lookupswitch {
  28.     struct _lookupswitch*    next;
  29.     int            len;
  30.     int            offsets[0];
  31. } lookupswitch;
  32.  
  33. #endif
  34.